import { request } from '@/utils/request.js'

// 购物车列表
export function apiGetShopCartList(data = {}) {
	return request({
		url: "/shopCart/list",
		data,
	})
}

// 添加商品到购物车
export function apiAddReduce(data = {}) {
	return request({
		url: "/shopCart/addReduce",
		data,
		method: "post",
	})
}

// 购物车删除
export function deleteBatch(data = {}) {
	return request({
		url: "/shopCart/deleteBatch",
		data,
		method: "post",
	})
}